﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PSO_Manage.aspx.cs" Inherits="admin_Column_Manage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="img/admin_css.css"/>
         
<SCRIPT language=javascript>
<!--
function left_menu(meval)
{
var left_n=eval(meval);
if (left_n.style.display=="none")
{ eval(meval+".style.display='';"); }
else
{ eval(meval+".style.display='none';"); }
}
//document.all.left_sys.style.display='';
//document.all.left_bm.style.display='none'
-->
</SCRIPT>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <div style="margin:5px 0 10px 0; ">
     大分类添加：<asp:TextBox ID="TextBox1" runat="server" Width="200px"></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="添　加" OnClick="Button1_Click" />
     </div>
    
    <br />
    <!------------大分类开始-------------->
  <asp:DataList ID="DataList1" runat="server" OnItemDataBound="DataList1_DataBinding" RepeatColumns="1" Width="86%">
    <ItemTemplate>
   <div class="dlm"><img src="img/expand.gif"/>&nbsp;<%#DataBinder.Eval(Container.DataItem, "Menu_Name")%></div>
    <div class="dxg"><a href="PSO_Edit.aspx?Coumu_ID=<%#Eval("Menu_ID")%>&dl=add"><b>添加子栏目</b></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="PSO_Edit.aspx?Coumu_ID=<%#Eval("Menu_ID")%>&xg=edit">修改</a>&nbsp;&nbsp;&nbsp;&nbsp;
    
    
    <%if (Session["AdminType"].ToString() =="0")
      {%><a href="PSO_Edit.aspx?Coumu_ID=<%#Eval("Menu_ID")%>&dl=del">删除</a><%}%>
    <%else 
    {%><span style="color:#cccccc;">删除</span><%}%>
    </div>
   <!------------中分类开始-------------->
  <asp:DataList ID="DataList2" runat="server" >
    <ItemTemplate>
     <asp:Label ID="Label1" runat="server" Text=' <%# Eval("Menu_ID") %>' Visible="False"> </asp:Label> 
    <div class="zlm2" onclick="javascript:left_menu('left_<%#Eval("Menu_ID")%>');"><a href="#"><img src="img/collapse.gif" border="0"/>&nbsp;<%#DataBinder.Eval(Container.DataItem, "Menu_Name")%></a></div>
     <div class="zxg2" ><a href="PSO_Edit.aspx?Coumu_ID=<%#Eval("Menu_ID")%>&xg=edit">修改</a>&nbsp;&nbsp;&nbsp;&nbsp;
     
     
     <%if (Session["AdminType"].ToString() =="0")
      {%><a href="PSO_Edit.aspx?Coumu_ID=<%#Eval("Menu_ID")%>&zl=del">删除</a><%}%>
    <%else 
    {%><span style="color:#cccccc;">删除</span><%}%>
     </div>
     <!------------小分类开始-------------->
  <!------------小分类结束-------------->
       </ItemTemplate>
  </asp:DataList>
  <!------------中分类结束-------------->
    </ItemTemplate>
    <ItemStyle VerticalAlign="Top" />
  </asp:DataList>
  <!------------大分类结束-------------->
    </div>
    </form>
</body>
</html>
